/*
 * Copyright 2010. 
 * 
 * This document may not be reproduced, distributed or used 
 * in any manner whatsoever without the expressed written 
 * permission of xrkol Corp. 
 * 
 * $Rev: Rev $
 * $Author: Author $
 * $LastChangedDate: LastChangedDate $
 *
 */

package com.xrkol.sharelib.service;

import com.xrkol.sharelib.entity.Attendance;
import com.xrkol.sharelib.entity.Clazz;
import com.xrkol.sharelib.entity.Student;

/**
 * @author peng.xia
 *
 */
public interface AttendanceService extends BaseService<Attendance, String>{

    /**
     * 删除班级的就读记录
     * 
     * @param clazz
     */
    void deleteByClass(Clazz clazz);

    void save(Clazz clazz, String[] stuIds);

    /**
     * 根据学生找到就读记录
     * 
     * @param entity
     * @return
     */
    Attendance findByStudent(Student entity);

    

}
